package com.jxchexie.api;

/**
 * Created by zj
 */
public class Api {
    /*配置baseUl*/
    public static final String BASE_URL="http://39.105.9.158:3000/phone_api/";
    /*用户登录*/
    public static final String LOGIN=BASE_URL + "login";
    /*用户注册*/
    public static final String REGISTER=BASE_URL + "register";
    /*添加请假记录*/
    public static final String ADD_HOLIDAY=BASE_URL + "add_holiday";
    /*获得用户请求记录*/
    public static final String GET_HOLIDAYS=BASE_URL + "get_holidays";
    /*用户签到*/
    public static final String SIGNIN=BASE_URL + "sign_in";
    /*获取签到记录*/
    public static final String GET_SIGNINS=BASE_URL + "get_signins";
    //上传图片
    public static final String UPLOAD_IMAGE = BASE_URL+"upload_image";
    //得到通知
    public static final String GET_MESSAGE = BASE_URL+"get_message";
    //管理员管理
    public static final String CHECK_ADMIN = BASE_URL+"check_admin";
    //获取需要签到的信息
    public static final String SIGNIN_MESSAGE = BASE_URL+"sign_in_message";
    public static final String GET_USER_LOCATION = BASE_URL+"get_user_location";
    //查看未签到的用户
    public static final String GET_UNSIGNED_USERS = BASE_URL+"get_unsigned_users";
    //管理员查看请假用户
    public static final String CHECK_HOLIDAY = BASE_URL+"check_holiday";
    //管理员修改需要的签到信息
    public static final String Set_Info = BASE_URL+"set_info";
    //管理员向用户发送签到通知
    public static final String SEND_MESSAGE = BASE_URL+"send_message";
    //管理员查看不合格用户
    public static final String  DANGER_USER = BASE_URL+"danger_user";
    //用户加载头像
    public static final String  GET_HEAD = BASE_URL+"get_head";
    //用户更新，上传头像
    public static final String  UPLOAD_HEAD = BASE_URL+"upload_head";
}
